<script>
import detail from "../components/indexEdit";
export default {
  name: "setitem-edit",
  render() {
    return <detail state="edit" />;
  },
  beforeRouteEnter(to, from, next) {
    !(to.fullPath === from.fullPath) &&
      sessionStorage.setItem("fromPath", from.fullPath);
    next();
  }
};
</script>
